package timer;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.time.LocalDateTime;

public class TimePrinter implements ActionListener {
    @Override
    public void actionPerformed(ActionEvent actionEvent) {
        LocalDateTime now = LocalDateTime.now();
        System.out.println("At the tone, the time is " + now);
    }
}
